class Index {
    /**
     * 退出登陆
     * @return {Promise<unknown>} 无
     */
    logOut(){
        return new Promise((resolve, reject) => {
            $.ajax({
                url: "/www.xiaomi.com/login/out",
                method: "GET",
                success: function (response) {
                    resolve(response);
                },
                error: function (error) {
                    reject(error);
                }
            });
        })
    }
}